#ifndef LINEARBSPLINES_H
#define LINEARBSPLINES_H

#include "B_Basis_function.h"

class LinearBSplines:public B_Basis_function{
    public:
    LinearBSplines(){}
    LinearBSplines(int degree, int index,std::vector<double>knots);
    double value(double x_value);
};

LinearBSplines::LinearBSplines(int degree, int index,std::vector<double>knots){
    this->degree=degree;
    this->index=index;
    this->knots=knots;
}
#endif